{#template MAIN}
<div class="toolbar">
	<h1> 餐桌维护 </h1>
	<a class="button back" onclick="app.loadPageSildeRight('pages/setting.html');"> 返回 </a>
	<a class="button right" onclick="dinnerTable.showAdd();"> + </a>
</div>
<div class="content">
	<h2> 餐桌列表 </h2>
	<ul class="rounded">
	{#foreach $T as Item}
	<li><a onclick="dinnerTable.show({$T.Item.id},'{$T.Item.name}','slide-left')">{$T.Item.name}<span class="arrow"></span></a></li>
	{#/for}
	</ul>
</div>
{#/template MAIN}